package com.xbjtech.model;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Data;

@Table(name = "role")
@Data
public class Role implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -918859427230293350L;

	@Id
    private Integer id;

    private String name;

    private String code;

    private String description;
    
    @Transient
    private List<Resource> reses;

    
}